﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Xinkui.DataAccess.AutoGenerator;
using Xinkui.Common;
using Xinkui.Entity.AutoGenerator;
using Xinkui.WebModel.Cache;

public partial class Test : System.Web.UI.Page {
    protected void Page_Load(object sender, EventArgs e) {
        //Singleton<UserInfoDataAccess>.Instance.UserInfo_Add(new UserInfo_Entity {
        //    UserName = "wujunjie",
        //    Password = "asdbasd",
        //    UpdateDate = DateTime.Now
        //});

        var views = CategoryCache.ListCategoryByCompany(1);
        r.DataSource = views;
        r.DataBind();
    }
}